//
// Created by jsjxsy on 2022/6/28.
//
#include <stdio.h>
int main() {
  int number;
  puts("please input below 5 number:");
  scanf("%d", &number);
  while (number > 0) {
    int result = number % 10;
    number /= 10;
    printf("%d", result);
  }
  return 0;
}
